package com.zxl.yjb.bean;

/**
 * Created by Administrator on 2017/6/17.
 */

public class HttpResult<T> {
    private int state;
    private String msg;
    private T data;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getMessage() {
        return msg;
    }

    public void setMessage(String message) {
        this.msg = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "HttpResult{" +
                "state=" + state +
                ", message='" + msg + '\'' +
                ", data=" + data +
                '}';
    }
}
